package com.young.ums.model;

import com.young.common.core.excel.ExcelColumn;
import java.util.Date;
/**
* 按钮信息实体类
* Created by imrookie on 2018-10-28.
*/
public class Button{

    @ExcelColumn(value = "编号", order = 1)
    private String id;//编号
    @ExcelColumn(value = "名称", order = 2)
    private String name;//名称
    @ExcelColumn(value = "点击事件", order = 3)
    private String click;//点击事件
    @ExcelColumn(value = "图标", order = 4)
    private String icon;//图标
    @ExcelColumn(value = "类别", order = 5)
    private String category;//类别
    @ExcelColumn(value = "显示条件", order = 6)
    private String display;//显示条件
    @ExcelColumn(value = "按钮样式", order = 6)
    private String buttonClass;//按钮样式
    @ExcelColumn(value = "备注", order = 7)
    private String remark;//备注
    @ExcelColumn(value = "作废标识", order = 8)
    private Integer trashFlag;//作废标识
    @ExcelColumn(value = "创建时间", order = 9)
    private Date createTime;//创建时间
    private Date createTime2;//创建时间,按时间检索时作为结束时间使用
    @ExcelColumn(value = "顺序", order = 10)
    private Integer num;//顺序
    @ExcelColumn(value = "更新时间", order = 11)
    private Date updateTime;//更新时间
    @ExcelColumn(value = "创建人", order = 12)
    private String createUserId;//创建人
    @ExcelColumn(value = "更新人", order = 13)
    private String updateUserId;//更新人

    private String orderBy;//排序字段
    private String orderType;//排序类型,升序asc/降序desc

    private String nodeType = "BUTTON";//节点类型,供前端树插件使用
    private boolean checked;//选中状态,供前端树插件使用

    public Button(){
        super();
    }

    public String getId() {
    return id;
    }
    public void setId(String id) {
    this.id = id;
    }
    public String getName() {
    return name;
    }
    public void setName(String name) {
    this.name = name;
    }
    public String getClick() {
    return click;
    }
    public void setClick(String click) {
    this.click = click;
    }
    public String getIcon() {
    return icon;
    }
    public void setIcon(String icon) {
    this.icon = icon;
    }
    public String getCategory() {
    return category;
    }
    public void setCategory(String category) {
    this.category = category;
    }
    public String getDisplay() {
    return display;
    }
    public void setDisplay(String display) {
    this.display = display;
    }
    public String getRemark() {
    return remark;
    }
    public void setRemark(String remark) {
    this.remark = remark;
    }
    public Integer getTrashFlag() {
    return trashFlag;
    }
    public void setTrashFlag(Integer trashFlag) {
    this.trashFlag = trashFlag;
    }
    public Date getCreateTime() {
    return createTime;
    }
    public void setCreateTime(Date createTime) {
    this.createTime = createTime;
    }
    public Date getCreateTime2() {
    return createTime2;
    }
    public void setCreateTime2(Date createTime2) {
    this.createTime2 = createTime2;
    }
    public Integer getNum() {
    return num;
    }
    public void setNum(Integer num) {
    this.num = num;
    }
    public Date getUpdateTime() {
    return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
    }
    public String getCreateUserId() {
    return createUserId;
    }
    public void setCreateUserId(String createUserId) {
    this.createUserId = createUserId;
    }
    public String getUpdateUserId() {
    return updateUserId;
    }
    public void setUpdateUserId(String updateUserId) {
    this.updateUserId = updateUserId;
    }

    public String getButtonClass() {
        return buttonClass;
    }

    public void setButtonClass(String buttonClass) {
        this.buttonClass = buttonClass;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }
}